require linux-phytium.inc

LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
KERNEL_BRANCH = "linux-5.10"

SRCREV = "0069e5ed5007aa11263b1db763e00c90bed34138"

SRC_URI:append = " file://0001-Makefile-fix-cannot-find-.h.patch \
	file://0001-Makfile-add-dtbo.patch"
DELTA_KERNEL_DEFCONFIG:prepend = "${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'phytium_optee.config', '', d)}"

KERNEL_DEVICETREE:append = " phytium/px210.dtbo phytium/usb2_host_for_pe220x.dtbo"
